northPanelUi = Ext.extend(Ext.Panel, {
	region: 'north'
    ,title  : '<span class="main-title">Sweatshop v. 0.1</span>'
    ,iconCls : 'icon-note_pinned'
    ,tbar:[
        { //Application-menu-button
            xtype: 'button'
            ,text: 'Application'
            ,iconCls : 'icon-preferences'
            ,ref: '../applicationButton'
            ,menu: {
                xtype: 'menu'
                ,items: [
                    {
                        text: 'Manage users'
                        , id: 'npUsersBtn'
						, iconCls : 'icon-users3_preferences'
                    }
                    ,{
                        text: 'Manage products'
                        , id: 'manageProductsButton'
						, iconCls : 'icon-package_preferences'
                    }
                    ,{
                        text: 'Manage sprints'
                        , id: 'manageSprintsButton'
                        , iconCls : 'icon-box_preferences'
                    }
                ]
            }
        },'-',{
            xtype : 'button'
            , text : 'Create ticket'
            , id : 'npCreateTicketBtn'
            , iconCls: 'icon-note_add'
        }
        ,'-'
        ,{
            xtype: 'assigneecombo'
            ,id: 'scumboarAssigneeFilter'
            , emptyText : 'Filter by Assignee'
            ,ref: '../assigneeCombo'
        },{
            xtype: 'productcombo'
            ,id: 'scumboarProductFilter'
            ,emptyText : 'Filter by Product'
            ,ref: '../productCombo'
        },'-',{
            xtype: 'sprintcombo'
            ,id: 'sprintProductFilter'
            ,emptyText : 'Select sprint'
            ,ref: '../sprintCombo'
        },'-',{
            xtype: 'button'
            ,ref: '../hourPromptButton'
            ,id: 'hourPromptButton'
           , iconCls : 'icon-history_add'
            ,text : 'Book working hours'
            ,enableToggle : true
            ,pressed : true
        }
		,'->'
        ,'-'
		,{
			xtype:'button'
			,text: 'Logout'
			,iconCls: 'icon-nav_up_right_red'
            ,id: 'logoutButton'
		}
	]
});